package com.ojoin.trade.t0loan_core.web.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ojoin.trade.common.utils.json.RMBDisplaySerializer;
import com.ojoin.trade.common.web.domain.IDentifiable;

public class TbPosTranscationLog implements IDentifiable, Serializable  {
	private Integer id;

    private Integer idOfTbMerchantUser;

    private String postransno;

    private String mhtno;

    private String mhtname;

    private String transtype;

    private String transdate;

    private String transtime;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String transamount;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String clearingamount;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String transcost;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String radio;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String netamount;

    private String content;

    private Date rowUpdateTime;

    private Date rowCreateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIdOfTbMerchantUser() {
        return idOfTbMerchantUser;
    }

    public void setIdOfTbMerchantUser(Integer idOfTbMerchantUser) {
        this.idOfTbMerchantUser = idOfTbMerchantUser;
    }

    public String getPostransno() {
        return postransno;
    }

    public void setPostransno(String postransno) {
        this.postransno = postransno == null ? null : postransno.trim();
    }

    public String getMhtno() {
        return mhtno;
    }

    public void setMhtno(String mhtno) {
        this.mhtno = mhtno == null ? null : mhtno.trim();
    }

    public String getMhtname() {
        return mhtname;
    }

    public void setMhtname(String mhtname) {
        this.mhtname = mhtname == null ? null : mhtname.trim();
    }

    public String getTranstype() {
        return transtype;
    }

    public void setTranstype(String transtype) {
        this.transtype = transtype == null ? null : transtype.trim();
    }

    public String getTransdate() {
        return transdate;
    }

    public void setTransdate(String transdate) {
        this.transdate = transdate == null ? null : transdate.trim();
    }

    public String getTranstime() {
        return transtime;
    }

    public void setTranstime(String transtime) {
        this.transtime = transtime == null ? null : transtime.trim();
    }

    public String getTransamount() {
        return transamount;
    }

    public void setTransamount(String transamount) {
        this.transamount = transamount == null ? null : transamount.trim();
    }

    public String getClearingamount() {
        return clearingamount;
    }

    public void setClearingamount(String clearingamount) {
        this.clearingamount = clearingamount == null ? null : clearingamount.trim();
    }

    public String getTranscost() {
        return transcost;
    }

    public void setTranscost(String transcost) {
        this.transcost = transcost == null ? null : transcost.trim();
    }

    public String getRadio() {
        return radio;
    }

    public void setRadio(String radio) {
        this.radio = radio == null ? null : radio.trim();
    }

    public String getNetamount() {
        return netamount;
    }

    public void setNetamount(String netamount) {
        this.netamount = netamount == null ? null : netamount.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getRowUpdateTime() {
        return rowUpdateTime;
    }

    public void setRowUpdateTime(Date rowUpdateTime) {
        this.rowUpdateTime = rowUpdateTime;
    }

    public Date getRowCreateTime() {
        return rowCreateTime;
    }

    public void setRowCreateTime(Date rowCreateTime) {
        this.rowCreateTime = rowCreateTime;
    }
    
	@Override
	public String getTableName() {
		return "tb_pos_transcation_log";
	}
	
	public static String getDefTableName() {
		return "tb_pos_transcation_log";
	}
	
}